/*************************Copyright (c)*************************
 

**--------------------------File Info---------------------------

** File name:
** Last modified Date:

** Last Version:

** Descriptions:
**---------------------------------------------------------------

** Created by:		刘家辉 
** Created date:	2021/01/08

** Version:			V1.0
** Descriptions:	这里是参照《UNIX环境高级编程-第三版》中的编程实例（图1-9 打印用户ID和组ID）
** Notes:           
** Tips:               
**---------------------------------------------------------------
*/

#include "apue.h"

int main(void)
{   
    printf("uid = %d,gid = %d\r\n", getuid(), getgid());
    exit(0);
}